package com.cskaoyan.model.admin.vo;

/**
 * @author hanshuai
 * @version 1.0
 * @description @TODO
 * @date 2021/11/29 17:47
 */
import lombok.Data;

import java.util.List;

/**
 * @author stone
 * @date 2021/11/29 15:37
 */
@Data
public class BaseData1 {
    Integer page;
    Integer limit;
    Integer total;
    Integer pages;
    List list;

    public static BaseData1 list(List list, long total) {
        BaseData1 data1 = new BaseData1();
        data1.setList(list);
        data1.setTotal((int) total);
        return data1;
    }
}
